<?php

namespace AdminsBundle\Entity;

use Doctrine\ORM\Mapping as ORM;

/**
 * CategoryAttributeValue
 *
 * @ORM\Table(name="category_attribute_value")
 * @ORM\Entity(repositoryClass="AdminsBundle\Repository\CategoryAttributeValueRepository")
 */
class CategoryAttributeValue
{
    /**
     * @var int
     *
     * @ORM\Column(name="id", type="integer")
     * @ORM\Id
     * @ORM\GeneratedValue(strategy="AUTO")
     */
    private $id;

    /**
     * @var int
     *
     * @ORM\Column(name="category_attr_id", type="integer")
     */
    private $attrId;

    /**
     * @var string
     *
     * @ORM\Column(name="category_attr_val", type="string", length=255)
     */
    private $attrVal;


    /**
     * Get id
     *
     * @return int
     */
    public function getId()
    {
        return $this->id;
    }

    /**
     * Set attrId
     *
     * @param integer $attrId
     *
     * @return CategoryAttributeValue
     */
    public function setAttrId($attrId)
    {
        $this->attrId = $attrId;

        return $this;
    }

    /**
     * Get attrId
     *
     * @return int
     */
    public function getAttrId()
    {
        return $this->attrId;
    }

    /**
     * Set attrVal
     *
     * @param string $attrVal
     *
     * @return CategoryAttributeValue
     */
    public function setAttrVal($attrVal)
    {
        $this->attrVal = $attrVal;

        return $this;
    }

    /**
     * Get attrVal
     *
     * @return string
     */
    public function getAttrVal()
    {
        return $this->attrVal;
    }
}

